package com.wn.class30.service.impl;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.wn.class30.entity.Orderdeploy;
import com.wn.class30.mapper.OrderdeployDao;
import com.wn.class30.service.OrderDeployService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class OrderDeployServiceImpl implements OrderDeployService {
    @Resource
    private OrderdeployDao orderdeployDao;

    @Override
    public List<Orderdeploy> selectOrderdeploy() {
        return orderdeployDao.selectByExample(null);
    }

    @Override
    public int updateByPrimaryKeySelective(Orderdeploy orderdeploy) {

        return orderdeployDao.updateByPrimaryKeySelective(orderdeploy);
    }
}
